package com.wdm.repository;


import com.wdm.model.Alumni;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;


import java.util.Date;
import java.util.List;


/**
 * Created by Administrator on 2016-4-18.
 */
public interface AlumniRepository extends JpaRepository<Alumni,Long>
{
    List<Alumni> findAllByName(String name);
    Page<Alumni> findAll(Pageable page);
}
